package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description
 * @Autor 伍军
 * @Date 2022/9/8 16:01
 * @Version 1.0
 **/
@Data
@TableName("user_info")
public class UserInfo {

    //配置主键
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    //用户名
    private String userName;

    //密码
    private String userPwd;
  //盐值
    private String salt;
    //邮箱
    private String email;

    private String phone;

    //验证码
    @TableField(exist = false)
    private String code;
}
